home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / screensa / dside32.sit / Dark Side of the Mac 3.2 / FaderShell / Invert.r < prev   
Encoding:
Text File  |  1992-09-05  |  1.2 KB  |  74 lines

  1. /*
  2.     DarkSide 3.0 - a 7.0 dependant, system clean expandable screen saver.
  3.     
  4.     copyright ⌐╩1990, 1991, 1992 by Tom Dowdy
  5.     All rights reserved.
  6.     
  7. */
  8.  
  9. #include "Fader.r"
  10.  
  11. resource 'DITL' (5000, purgeable) {
  12.     {
  13.     { 5, 5, 20, areaWidth-20 },
  14.         StaticText {enabled, "Invert ⌐ 1990-92 by Tom Dowdy"},
  15.         
  16.     { 25, 5, 25+35, areaWidth-20 },
  17.          Control {enabled, 5000+1},
  18.  
  19.     };
  20. };
  21.  
  22.  
  23. resource 'CNTL' (5000+1, purgeable) {
  24.     {0, 0, 0+40, areaWidth-20},
  25.     5,
  26.     visible,
  27.     9,
  28.     0,
  29.     16*200,
  30.     5000+1,                // STR# ID of the names
  31.     "Speed of flashing: "
  32. };
  33.  
  34. // strings filled in for the above control
  35. resource 'STR#' (5000+1) {
  36.     {
  37.     "Sloth-like";
  38.     "Molasses";
  39.     "Pokey";
  40.     "Slow";
  41.     "Medium";
  42.     "Fast";
  43.     "Speedy";
  44.     "Wizzy";
  45.     "Lightning";
  46.     "Blinding";
  47.     };
  48. };
  49.  
  50.  
  51. // resource to control the DITL above
  52. resource 'DCTL' (5000) {
  53.     {
  54.     // item 1        about ID        ignored            ignored
  55.     1,                5000,            0,                0;
  56.     
  57.     // item 2        res control        ignored            first short
  58.     2,                 3,                 0,                 0;
  59.     };
  60. };
  61.  
  62. // default values for our fader
  63. resource 'DFLT' (5000) {
  64.     {5},
  65.     {};
  66. };
  67.  
  68. resource 'HELP' (5000) {
  69.     "Invert ⌐ 1990-92 by Tom Dowdy\n\n"
  70.     "Invert is a very simple fader designed mostly to show you how to create "
  71.     "a fader for DarkSide.  However, if you enjoy running it on your machine, "
  72.     "that's okay too."
  73. };
  74.